package com.ruoyi.api.mapper;

import com.ruoyi.api.domain.HyToken;
import com.ruoyi.common.core.mybatisplus.core.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 用户Token
 *
 * @author lixin
 * @date 2021-03-23 15:22:07
 */
public interface HyTokenMapper extends BaseMapperPlus<HyToken> {

	HyToken queryByUserId(@Param("userId") Long userId);

	HyToken queryByToken(@Param("token") String token);

}
